package com.thb.pay.api.order.fallback;

import com.thb.pay.api.order.MchTradeOrderServiceApi;
import com.thb.pay.api.order.vo.req.MchTradeOrderPageReq;
import com.thb.pay.api.order.vo.req.MchTradeOrderReq;
import com.thb.pay.api.order.vo.resp.MchTradeOrderCountVo;
import com.thb.pay.api.order.vo.resp.MchTradeOrderVo;
import com.thb.pay.core.utils.PageResult;
import feign.hystrix.FallbackFactory;
/**
 * @Description:
 * @Auther: huanglc
 * @Date: 2019-10-23 18:16
 */
public class MchTradeOrderServiceApiFallbackFactory implements FallbackFactory<MchTradeOrderServiceApi> {

    @Override
    public MchTradeOrderServiceApi create(Throwable throwable) {
        return new MchTradeOrderServiceApi() {

            @Override
            public PageResult<MchTradeOrderVo> findPage(MchTradeOrderPageReq pageReq) {
                return null;
            }

            @Override
            public MchTradeOrderVo getById(Long id) {
                return null;
            }

            @Override
            public MchTradeOrderCountVo count(MchTradeOrderReq paramReq) {
                return null;
            }

        };
    }
}